Skip to content

Conversation

@undercover-cactus
Copy link
Contributor

@undercover-cactus undercover-cactus commented Apr 22, 2025

This PR upgrade polkadot SDK from stable24019 to stable2412.

Runtime changes :

Client changes :

impl xcm_runtime_apis::dry_run::DryRunApi<Block, RuntimeCall, RuntimeEvent, OriginCaller> for Runtime {
fn dry_run_call(origin: OriginCaller, call: RuntimeCall) -> Result<CallDryRunEffects<RuntimeEvent>, XcmDryRunApiError> {
PolkadotXcm::dry_run_call::<Runtime, configs::xcm_config::XcmRouter, OriginCaller, RuntimeCall>(origin, call)
fn dry_run_call(origin: OriginCaller, call: RuntimeCall, result_xcms_version: Version) -> Result<CallDryRunEffects<RuntimeEvent>, XcmDryRunApiError> {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@TDemeco We talked about the XCM versioning and you recommended I fix it to v4. Should I enforce it here in the implementation ?
It doesn't look like we used it anywhere in the code base.

@undercover-cactus undercover-cactus marked this pull request as ready for review April 30, 2025 18:29
@undercover-cactus undercover-cactus requested review from TDemeco, ffarall and snowmead and removed request for snowmead April 30, 2025 18:29
@undercover-cactus undercover-cactus merged commit ea7fb00 into main May 21, 2025
22 checks passed
@undercover-cactus undercover-cactus deleted the deps/upgrade-polkadot-2412 branch May 21, 2025 08:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants